﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using System.Linq;
using System.Text;

namespace DataModels
{
    public class DataLoader
    {
        Microsoft.Xna.Framework.Content.ContentManager Content;

        public DataLoader(Microsoft.Xna.Framework.Content.ContentManager Content)
        {
            this.Content = Content;
        }

        public SpriteFont loadFont(String fileName)
        {
            return Content.Load<SpriteFont>(fileName);
        }


        public Texture2D loadTexture(String fileName)
        {
            return Content.Load<Texture2D>(fileName);
        }
    }
}
